package com.web.pojo.dto;

import java.io.Serializable;

/**
 * @Author: wws
 * describe:
 */
public class UpdatePasswordDTO implements Serializable {

    private String oldPassword;
    private String newPassword;
    private String checkPassword;

    public UpdatePasswordDTO() {
    }

    public UpdatePasswordDTO(String oldPassword, String newPassword, String checkPassword) {
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
        this.checkPassword = checkPassword;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getCheckPassword() {
        return checkPassword;
    }

    public void setCheckPassword(String checkPassword) {
        this.checkPassword = checkPassword;
    }

    @Override
    public String toString() {
        return "UpdatePasswordDTO{" +
                "oldPassword='" + oldPassword + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", checkPassword='" + checkPassword + '\'' +
                '}';
    }
}
